<include file="Public:_header_user" />
<link href="__ROOT__/font/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

<div align="center">
    <div class="cartcontent">
        <include file="Public:uc_left" />
		<div class="fl">
		    

			<div class="uc_rline2">
			    <div class="uc_rline2_head">
				   <span class="icon fl"></span>
				   <span class="tittle fl">我的订单</span>
				   <div class="fr class">
				      <ul>
						 <!-- <li ><a <if condition="I('get.tab') eq ''">class="active"</if> href="{:U('User/index')}">待付款（{$num['no_pay']}）</a></li>
						 <li ><a <if condition="I('get.tab') eq 'wait_recevie'">class="active"</if> href="{:U('User/index',array("tab"=>"wait_recevie"))}">代收货（{$num['wait_recevie']}）</a></li>
						 <li ><a <if condition="I('get.tab') eq 'wait_get'">class="active"</if> href="{:U('User/index',array("tab"=>"wait_get"))}">待自提（{$num['wait_get']}）</a></li>
						 <li ><a <if condition="I('get.tab') eq 'wait_commit'">class="active"</if> href="{:U('User/index',array("tab"=>"wait_commit"))}">待评价（{$num['wait_commit']}）</a></li>
					     <li ><a <if condition="I('get.tab') eq 'all'">class="active"</if> href="{:U('User/index',array("tab"=>"all"))}">全部（{$num['all']}）</a></li> -->
					  </ul>
				   </div>
				</div>
				<div class="clear"></div>
				<div class="uc_rline2_main">
				    <div class="uc_rline2_main_content active">
					   <table class="uc_ordertb" align="center" >
					      <tr class="tr1">
						     <td width="158px;">订单编号</td>
							 <td width="150px;">下单日期</td>
							 <td width="120px;">收货人</td>
							 <td width="90px;">支付状态</td>
							 <td width="90px;">配送方式</td>
							 <td width="110px;">订单状态</td>
							 <td width="130px;">订单操作</td>
						  </tr>
						  <notempty name="list">
						  <volist name="list" id="orderlist">
						  <tr class="tr2">
						     <td class="ordertd"><a href="{:U('User/order_detail',array("id"=>$orderlist['od_id']))}">{$orderlist.od_no}</a></td>
							 <td>{:date("Y-m-d",$orderlist['od_createtime'])}</td>
							 <td >{$orderlist.od_contacter}</td>
							 <td><if condition="$orderlist.od_status eq 0">未付款</if></td>
							 <td>{$orderlist.od_payway}</td>
							 <td>{$orderlist.od_sendway}</td>
							 <td><a href="#">支付</a>&nbsp;&nbsp;<a href="#">取消</a></td>
						  </tr>
						  </volist>
						  <else/>
						  <tr><td colspan="7" style="color:#e64346;text-align:center;line-height:100px; font-weight:bold">暂无相关数据</td></tr>
						  </notempty>

					   </table>
					</div>	
				</div>
			</div>
		</div>
		<div class="clear"></div>
	 </div>
</div>	 


</body>
</html>
